package org.jeecg.modules.oms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 设计任务进度表
 */
@Data
@TableName("oms_design_task_progress")
public class DesignTaskProgress implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /** 进度ID */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    
    /** 任务ID */
    private String taskId;
    
    /** 租户ID */
    private Integer tenantId;
    
    /** 进度百分比 */
    private Integer progress;
    
    /** 进度描述 */
    private String progressDesc;
    
    /** 记录人ID */
    private String recordPersonId;
    
    /** 记录人姓名 */
    private String recordPersonName;
    
    /** 记录时间 */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;
    
    /** 创建时间 */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
} 